<table style="width: 100%; text-align: left;">
    <tr class="detail-frame">
        <td>
            <table>
                <tr class="detail-frame">
                    <td colspan="2">
                        <table>
                            <tr>
                                <td>
                                    <div id="formula_detail_title" class="detail_title">
                                        Detalle de F&oacute;rmula Desarrollada
                                    </div>
                                </td>
                                <td>
                                     <?php
                                        echo $this->element("toolbar",
                                            array("toolIds" => array("addId" => "add_formula", "editId" => "edit_formula", "delId" => "del_formula"))
                                        );
                                    ?>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr class="detail-frame">
                    <td class="detail_field">F&oacute;rmulas previas: </td><td><?php echo $this->element("../formulas_desarrolladas/listado_formulas"); ?></td>
                </tr>
                <tr class="detail-frame" bgColor="#EAEFA5">
                        <td class="detail_field" entityname="FormulaDesarrollada" column="descripcion" filterType="string" minLength="0" required="false" align="left" >
                            <nobr>Descripci&oacute;n&nbsp;&nbsp;&nbsp;</nobr>
                        </td>
                        <td>
                            <input id="descripcion" name="descripcion" type="text" size="30" />
                            <input id="alimentos" name="alimentos" type="hidden" />
                        </td>
                    </tr>
                    <tr class="detail-frame" bgColor="#EAEFA5">
			<td class="detail_field" entityname="FormulaDesarrollada" column="fecha" filterType="date" minLength="3" required="true" align="left" >
                            <nobr>Fecha:&nbsp;&nbsp;&nbsp;</nobr>
                                    </td>
                                    <td>
                                            <input id="fecha" name="fecha" type="text" size="10" />
                                    </td>
                    </tr>
            </table>
    </tr>
    <tr class="detail-frame">
        <td>
            <div id="formulasdys">
                <h3><a href="#">F&oacute;rmula Sint&eacute;tica</a></h3>
                <div><?php echo $this->element("../formulas_desarrolladas/formulas_sinteticas"); ?></div>
                <h3><a href="#">F&oacute;rmula Desarrollada</a></h3>
                <div><?php echo $this->element("../formulas_desarrolladas/detalle_formulas"); ?></div>
            </div>
        </td>
    </tr>
    <tr>
            <td class="error" id="errorMessage" colspan="2"></td>
    </tr>
    <tr >
            <td colspan="4" align="right">
    <br />
            <!--<input type="button" name="sbtcancel" id="sbtcancel" value="Cancelar" class="standar-button" onclick="window.parent.$('#detail').dialog( 'close' );" > -->
            <input type="button" name="sbtguardar" id="sbtguardar" value="Guardar" class="standar-button" >
    </td>
    </tr>
</table>